package club.banyuan.demo.Bird;

/**
 * @author edz
 * @version 1.0
 * @date 2020/11/25 上午9:33
 */
public class Eagle extends Bird {
    private double heightOfFlying;

    @Override
    public void fly() {
        System.out.println("鹰可以高空飞行");
    }
    public void prey(){
        System.out.println("鹰可以捕食鸵鸟和麻雀");
    }
}
